home *** CD-ROM | disk | FTP | other *** search
/ Enter 2002 January / EnterCD 1_2002.iso / Dzwiek / Awave Studio 8.0 / Setup.exe / RCDATA / UNINSTALL_BAT < prev   
Encoding:
Text File  |  2001-11-04  |  1019 b   |  53 lines

  1. @echo off
  2. cd %1
  3.  
  4. cls
  5. echo --------------------------------------------------------------------------------  Awave Studio uninstallation procedure                           FMJ-Software  --------------------------------------------------------------------------------
  6. echo Uninstalling... (%1)
  7.  
  8. rem ** Clean up the registry **
  9. if exist "Awave Studio.exe" goto runexe
  10. echo Error: Could not find "Awave Studio.exe"
  11. echo.
  12. echo Uninstallation aborted!
  13. goto end
  14. :runexe
  15. echo Cleaning up the registry...
  16. dir > awblock
  17. "Awave Studio.exe" -UNINSTALL
  18. :wait
  19. if exist awblock goto wait
  20.  
  21. rem ** Delete files? **
  22. if not exist awdel goto nodel
  23.  
  24. echo Deleting files...
  25. del awdel
  26. if exist "Awave Studio.gid" attrib -h "Awave Studio.gid"
  27. :retry
  28. del "Awave Studio.*"
  29. if exist "Awave Studio.exe" goto retry
  30. del *.diz
  31. del *.txt
  32. del *.dll
  33.  
  34. echo.
  35. echo Done!
  36. echo.
  37. echo.
  38. echo.
  39. echo.
  40. echo.
  41. echo.
  42. echo.
  43. echo.
  44. del Uninstall.bat
  45. goto end
  46.  
  47. :nodel
  48. echo.
  49. echo Done! (No files deleted).
  50. echo.
  51.  
  52. :end
  53.